package cn.tsvtc.shop.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author: Athena
 * @date: 2020/11/6 15:20
 * @description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Orderlog implements Serializable {

    private static final long serialVersionUID = 1L;
    private String id;
    private String orderid;
    private String account;
    private String createdate;
    private String content;
    private String accountType;//w:会员;m:后台管理人员;

    public static final String orderlog_accountType_w = "w";//日志类型：前台
    public static final String orderlog_accountType_m = "m";//日志类型：后台
    public static final String orderlog_accountType_p = "p";//日志类型：支付系统回调


    public Orderlog(String orderid) {
        super();
        this.orderid = orderid;
    }

    public void clear() {
        id = null;
        orderid = null;
        account = null;
        createdate = null;
        content = null;
        accountType = null;
    }

}
